package com.wolf.lottery.infrastructure.dao;

import com.wolf.lottery.infrastructure.po.Award;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description: 奖品信息表DAO
 * @author: wolf
 * @date: 2023/6/13
 */
@Mapper
public interface IAwardDao {

    /**
     * 查询奖品信息
     * @param awardId 奖品ID
     * @return 奖品信息
     */
    Award queryAwardInfo(@Param("awardId") String awardId);

    /**
     * 插入奖品配置集合
     * @param awardList
     */
    void insertList(List<Award> awardList);
}
